package com.healthcarex.hip.saas.message.creator;


import com.healthcarex.hip.saas.message.core.AbstractMessage;
import com.healthcarex.hip.saas.message.schema.MessageSchemaDefinition;

/**
 * 消息创造器
 */
public interface IMessageCreator {

    /**
     * @param message
     * @param msd     msd
     */
    AbstractMessage create(Object message, MessageSchemaDefinition msd);

    String getMessageType();

}